package com.bbva.kyfb.kyfbdto.firmas.bo;

/**
 * The Class EmpresaRefDto.
 *
 * @author xe22570 Dto con los campos de empresa
 */

public class EmpresaRefDto {

	/** The cdnitr. */
	private String cdnitr;

	/** The denomb. */
	private String denomb;

	/** The cclien. */
	private String cclien;

	/**
	 * Gets the cdnitr.
	 *
	 * @return the cdnitr
	 */
	public String getCdnitr() {
		return cdnitr;
	}

	/**
	 * Sets the cdnitr.
	 *
	 * @param cdnitr the new cdnitr
	 */
	public void setCdnitr(String cdnitr) {
		this.cdnitr = cdnitr;
	}

	/**
	 * Gets the denomb.
	 *
	 * @return the denomb
	 */
	public String getDenomb() {
		return denomb;
	}

	/**
	 * Sets the denomb.
	 *
	 * @param denomb the new denomb
	 */
	public void setDenomb(String denomb) {
		this.denomb = denomb;
	}

	/**
	 * Gets the cclien.
	 *
	 * @return the cclien
	 */
	public String getCclien() {
		return cclien;
	}

	/**
	 * Sets the cclien.
	 *
	 * @param cclien the new cclien
	 */
	public void setCclien(String cclien) {
		this.cclien = cclien;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((cclien == null) ? 0 : cclien.hashCode());
		result = prime * result + ((cdnitr == null) ? 0 : cdnitr.hashCode());
		result = prime * result + ((denomb == null) ? 0 : denomb.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EmpresaRefDto other = (EmpresaRefDto) obj;
		if (cclien == null) {
			if (other.cclien != null)
				return false;
		} else if (!cclien.equals(other.cclien))
			return false;
		if (cdnitr == null) {
			if (other.cdnitr != null)
				return false;
		} else if (!cdnitr.equals(other.cdnitr))
			return false;
		if (denomb == null) {
			if (other.denomb != null)
				return false;
		} else if (!denomb.equals(other.denomb))
			return false;
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "EmpresaRefDto [cdnitr=" + cdnitr + ", denomb=" + denomb
				+ ", cclien=" + cclien + "]";
	}

}
